function setUp(){
	$('#filterOptions').buttonset();
	$('#areaOptions').buttonset();
	$('#PBInvokeSearch').bind('click', function(){
		performSearch();
	});
}


function performSearch(){
	$.post(PicBoard.baseURL + "rsrc.php?req=search", $('form').serialize(), function(data){
		$('#infoPane').html(data);
	});
}

PicBoard.addLoadEvent( "setUp()" );